Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
date_diff
date_diff
Alias for DateTime::diff - Returns the difference between two DateTime objects
Name:
date_diff
Category:
Date and time
Programming Language:
php
One-line Description:
Returns the difference between two days.
Related
Practical PHP Function to Ping Ports with Code Examples
8
Practical Tips and Steps for Using phpinfo() to Check Current PHP Version Information
4
socket_set_block builds a high-availability connection mechanism with timeout settings
9
How to Pass Data from JavaScript to PHP: Practical Methods and Analysis
9
Similar Functions
date_timestamp_get
date_timestamp_get
DateTime::getTimesta
date_add
date_add
DateTime::addalias:A
strftime
strftime
Formatlocaltime/date
time
time
ReturnthecurrentUnix
timezone_name_get
timezone_name_get
AliasforDateTimeZo
timezone_open
timezone_open
AliasforDateTimeZo
date_create_immutable
date_create_immutable
DateTimeImmutable::_
strtotime
strtotime
ParsesanyEnglishtext
Popular Articles